package com.cuckoo.cuckoo_app2.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 任务通知
 */
@Entity
public class TipsMessag {

    // 唯一标识
    @Id
    private String id;
    // 图片
    public String imageUrl;
    // 标题
    private String title;
    // 通知时间
    private Date date;
    // 通知内容
    private String messag;
    // 状态 SUCCESS(200, "成功"),FAIL(500, "失败"), WARNING(300, "警告"),
    private Integer start;
    @Generated(hash = 360687401)
    public TipsMessag(String id, String imageUrl, String title, Date date,
            String messag, Integer start) {
        this.id = id;
        this.imageUrl = imageUrl;
        this.title = title;
        this.date = date;
        this.messag = messag;
        this.start = start;
    }
    @Generated(hash = 117997166)
    public TipsMessag() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getImageUrl() {
        return this.imageUrl;
    }
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public Date getDate() {
        return this.date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public String getMessag() {
        return this.messag;
    }
    public void setMessag(String messag) {
        this.messag = messag;
    }
    public Integer getStart() {
        return this.start;
    }
    public void setStart(Integer start) {
        this.start = start;
    }


}
